package com.example.demo.banner.controller;

import com.example.demo.banner.bean.BannerBean;
import com.example.demo.banner.service.BannerService;
import com.example.demo.controller.BaseController;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.Banner;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Controller
@RequestMapping("Admin/banner")
public class BannerController extends BaseController<BannerService,BannerBean>{

    public BannerController() {
        super.rootName = "/banner/";
    }



}
